﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ERP_RORZE_DLL.Assembly
{
    public partial class AssemblyPanel : UserControl
    {
        private bool f5partLoad;
        private bool f5planLoad;
        private bool f5searchLoad;
        private bool f5wtsLoad;
        private bool f5localtroubleLoad;
        private bool f5exporttroubleLoad;
        private bool f4partLoad;
        private bool f4serialinputLoad;
        private bool f4robotorderdetailLoad;
        private bool f4wtsLoad;
        private bool f4exportLoad;
        private bool f4searchLoad;
        private bool f4localtroubleLoad;
        private bool f4exporttroubleLoad;
        private bool f4planLoad;
        private bool assemblycheckLoad;
        private bool assemblychecktypeLoad;
        private bool assemblycheckfunctionsLoad;
        private bool f4rv201Load;
        private bool f4rr70xLoad;
        private bool f4rr713Load;
        private bool f4rr717Load;
        private bool f4rr732Load;
        private bool f4rv201f06Load;        
        private bool materialorderLoad;
        private bool f5yoyakuLoad;
        private bool f4assemblyprintLoad;
        private bool f4materialkoseiLoad;
        private bool f4materialimportLoad;
        private bool f4materialexportLoad;
        private bool f4materialimportplanLoad;
        private bool f4materialexportplanLoad;
        private bool f4materialdetailLoad;
        private bool f5timereportLoad;
        private bool f4timereportLoad;
        private bool stampprintLoad;
        private bool inspectionLoad;
        private bool f5directindirectLoad;
        private bool f4directindirectLoad;
        private bool f5dailytimeLoad;
        private bool localerrorsummaryLoad;
        private bool exporterrorsummaryLoad;
        private bool f4materiallossLoad;
        private bool f5producingLoad;
        private bool f4producingLoad;
        private bool f5productdetailsLoad;
        private bool f5timemonthlyLoad;
        private bool f4timemonthlyLoad;
                
        private panel_F5Plan panel_F5Plan;
        private panel_F5Search panel_F5Search;
        private panel_F5AssemblyWTS panel_F5AssemblyWTS;
        private panel_F5LocalTroubles panel_F5LocalTroubles;
        private panel_F5ExportTroubles panel_F5ExportTroubles;
        private panel_F4SerialInput panel_F4SerialInput;
        private panel_F4AssemblyWTS panel_F4AssemblyWTS;
        private panel_F4Search panel_F4Search;
        private panel_F4LocalTroubles panel_F4LocalTroubles;
        private panel_F4ExportTroubles panel_F4ExportTroubles;
        private panel_MaterialOrder panel_MaterialOrder;
        private panel_F4Export panel_F4Export;
        private panel_F4Plan panel_F4Plan;
        private panel_AssemblyCheck panel_AssemblyCheck;
        private panel_AssemblyCheckType panel_AssemblyCheckType;
        private panel_AssemblyCheckFunctions panel_AssemblyCheckFunctions;
        private panel_F4CheckFORS300 panel_F4CheckFORS300;
        private panel_F4CheckRR70x panel_F4CheckRR70x;
        private panel_F4CheckRR713 panel_F4CheckRR713;
        private panel_F4CheckRR717 panel_F4CheckRR717;
        private panel_F4CheckRR732 panel_F4CheckRR732;
        private panel_F4CheckRV201F06 panel_F4CheckRV201F06;
        private panel_F5YoyakuPlan panel_F5YoyakuPlan;
        private panel_F4AssemblyPrint panel_F4AssemblyPrint;
        private panel_F4MaterialKosei panel_F4MaterialKosei;
        private panel_F4MaterialReceive panel_F4MaterialReceive;
        private panel_F4MaterialDelivery panel_F4MaterialDelivery;
        private panel_MaterialImportPlan panel_MaterialImportPlan;
        private panel_MaterialExportPlan panel_MaterialExportPlan;
        private panel_F4MaterialDtail panel_F4MaterialDtail;
        private panel_F5TimeReport panel_F5TimeReport;
        private panel_F4TimeReport panel_F4TimeReport;
        private panel_F4Part panel_F4Part;
        private panel_F5Part panel_F5Part;
        private panel_StampPrint panel_StampPrint;
        private panel_Inspection panel_Inspection;
        private panel_F5DirectIndirect panel_F5DirectIndirect;
        private panel_F4DirectIndirect panel_F4DirectIndirect;
        private panel_F5DailyTime panel_F5DailyTime;
        private panel_LocalTroubleReport panel_LocalTroubleReport;
        private panel_ExportTroubleReport panel_ExportTroubleReport;
        private panel_MaterialLoss panel_MaterialLoss;
        private panel_F5Producing panel_F5Producing;
        private panel_F5ProducingDetails panel_F5ProducingDetails;
        private panel_F4Producing panel_F4Producing;
        private panel_F5TimeMonthlyReport panel_F5TimeMonthlyReport;
        private panel_F4TimeMonthlyReport panel_F4TimeMonthlyReport;
        private panel_RobotOrderDetail panel_RobotOrderDetail;
        
        public AssemblyPanel()
        {
            InitializeComponent();
            this.f5planLoad = false;
            this.f5searchLoad = false;
            this.f5wtsLoad = false;
            this.f5localtroubleLoad = false;
            this.f5exporttroubleLoad = false;
            this.f4serialinputLoad = false;
            this.f4wtsLoad = false;
            this.f4exportLoad = false;
            this.f4searchLoad = false;
            this.f4localtroubleLoad = false;
            this.f4exporttroubleLoad = false;
            this.f4planLoad = false;
            this.assemblycheckLoad = false;
            this.assemblychecktypeLoad = false;
            this.assemblycheckfunctionsLoad = false;
            this.f4rv201Load = false;
            this.f4rr70xLoad = false;
            this.f4rr713Load = false;
            this.f4rr717Load = false;
            this.f4rr732Load = false;
            this.f4rv201f06Load = false;
            this.materialorderLoad = false;
            this.f5yoyakuLoad = false;
            this.f4assemblyprintLoad = false;
            this.f4materialkoseiLoad = false;
            this.f4materialimportLoad = false;
            this.f4materialexportLoad = false;
            this.f4materialimportplanLoad = false;
            this.f4materialexportplanLoad = false;
            this.f4materialdetailLoad = false;
            this.f5timereportLoad = false;
            this.f4timereportLoad = false;
            this.f4partLoad = false;
            this.f5partLoad = false;
            this.stampprintLoad = false;
            this.inspectionLoad = false;
            this.f5directindirectLoad = false;
            this.f4directindirectLoad = false;
            this.f5dailytimeLoad = false;
            this.localerrorsummaryLoad = false;
            this.exporterrorsummaryLoad = false;
            this.f4materiallossLoad = false;
            this.f5producingLoad = false;
            this.f5productdetailsLoad = false;
            this.f5timemonthlyLoad = false;
            this.f4timemonthlyLoad = false;
            this.f4robotorderdetailLoad = false;
            this.f4producingLoad = false;
            
            this.assemblyLeftPannel.assemblyLeftPanel.LinkClicked +=assemblyLeftPanel_LinkClicked;
        }

        void assemblyLeftPanel_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            switch (e.Link.Item.Name)
            {
                case "navF5Part":
                    // 
                    // panel_F5Part
                    //

                    if (!f5partLoad)
                    {
                        this.panel_F5Part = new ERP_RORZE_DLL.Assembly.panel_F5Part();
                        f5partLoad = true;
                    }
                    else
                    {
                        this.panel_F5Part.Dispose();
                        this.panel_F5Part = new ERP_RORZE_DLL.Assembly.panel_F5Part();
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F5Part);
                    this.panel_F5Part.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F5Part.Location = new System.Drawing.Point(2, 2);
                    this.panel_F5Part.Name = "panel_F5Part";
                    this.panel_F5Part.Size = new System.Drawing.Size(697, 425);
                    this.panel_F5Part.TabIndex = 0;
                    break;

                case "navF5AssemblyPlanning":                     
                    // panel_F5Plan
                    //
                    
                    if (!f5planLoad)
                    {
                        this.panel_F5Plan = new ERP_RORZE_DLL.Assembly.panel_F5Plan();
                        f5planLoad = true;
                    }
                    else
                    {
                        this.panel_F5Plan.Dispose();
                        this.panel_F5Plan = new ERP_RORZE_DLL.Assembly.panel_F5Plan();
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F5Plan);
                    this.panel_F5Plan.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F5Plan.Location = new System.Drawing.Point(2, 2);
                    this.panel_F5Plan.Name = "panel_F5Plan";
                    this.panel_F5Plan.Size = new System.Drawing.Size(697, 425);
                    this.panel_F5Plan.TabIndex = 0; 
                    break;

                case "navF5Search":
                    // 
                    // panel_F5Search
                    //

                    if (!f5searchLoad)
                    {
                        this.panel_F5Search = new ERP_RORZE_DLL.Assembly.panel_F5Search();
                        f5searchLoad = true;
                    }
                    else
                    {
                        this.panel_F5Search.Dispose();
                        this.panel_F5Search = new ERP_RORZE_DLL.Assembly.panel_F5Search();
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F5Search);
                    this.panel_F5Search.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F5Search.Location = new System.Drawing.Point(2, 2);
                    this.panel_F5Search.Name = "panel_F5Search";
                    this.panel_F5Search.Size = new System.Drawing.Size(697, 425);
                    this.panel_F5Search.TabIndex = 0; 
                    break;

                case "navF5AssemblyWTS":
                    // 
                    // panel_F5AssemblyWTS
                    //
                    
                    if (!f5wtsLoad)
                    {
                        this.panel_F5AssemblyWTS = new ERP_RORZE_DLL.Assembly.panel_F5AssemblyWTS();
                        f5wtsLoad = true;
                    }
                    else
                    {
                        this.panel_F5AssemblyWTS.Dispose();
                        this.panel_F5AssemblyWTS = new ERP_RORZE_DLL.Assembly.panel_F5AssemblyWTS();
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F5AssemblyWTS);
                    this.panel_F5AssemblyWTS.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F5AssemblyWTS.Location = new System.Drawing.Point(2, 2);
                    this.panel_F5AssemblyWTS.Name = "panel_F5AssemblyWTS";
                    this.panel_F5AssemblyWTS.Size = new System.Drawing.Size(697, 425);
                    this.panel_F5AssemblyWTS.TabIndex = 0; 
                    break;

                case "navF5LocalError":
                    // 
                    // panel_F5LocalTroubles
                    //
                    
                    if (!f5localtroubleLoad)
                    {
                        this.panel_F5LocalTroubles = new ERP_RORZE_DLL.Assembly.panel_F5LocalTroubles();
                        f5localtroubleLoad = true;
                    }
                    else
                    {
                        this.panel_F5LocalTroubles.Dispose();
                        this.panel_F5LocalTroubles = new ERP_RORZE_DLL.Assembly.panel_F5LocalTroubles();
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F5LocalTroubles);
                    this.panel_F5LocalTroubles.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F5LocalTroubles.Location = new System.Drawing.Point(2, 2);
                    this.panel_F5LocalTroubles.Name = "panel_F5LocalTroubles";
                    this.panel_F5LocalTroubles.Size = new System.Drawing.Size(697, 425);
                    this.panel_F5LocalTroubles.TabIndex = 0;
                    break;

                case "navF5ExportError":
                    // 
                    // panel_F5ExportTroubles
                    //

                    if (!f5exporttroubleLoad)
                    {
                        this.panel_F5ExportTroubles = new ERP_RORZE_DLL.Assembly.panel_F5ExportTroubles();
                        f5exporttroubleLoad = true;
                    }
                    else
                    {
                        this.panel_F5ExportTroubles.Dispose();
                        this.panel_F5ExportTroubles = new ERP_RORZE_DLL.Assembly.panel_F5ExportTroubles();
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F5ExportTroubles);
                    this.panel_F5ExportTroubles.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F5ExportTroubles.Location = new System.Drawing.Point(2, 2);
                    this.panel_F5ExportTroubles.Name = "panel_F5ExportTroubles";
                    this.panel_F5ExportTroubles.Size = new System.Drawing.Size(697, 425);
                    this.panel_F5ExportTroubles.TabIndex = 0;
                    break;

                case "navF4Part":
                    // 
                    // panel_F4Part
                    //

                    if (!f4partLoad)
                    {
                        this.panel_F4Part = new ERP_RORZE_DLL.Assembly.panel_F4Part();
                        f4partLoad = true;
                    }
                    else
                    {
                        this.panel_F4Part.Dispose();
                        this.panel_F4Part = new ERP_RORZE_DLL.Assembly.panel_F4Part();
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F4Part);
                    this.panel_F4Part.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F4Part.Location = new System.Drawing.Point(2, 2);
                    this.panel_F4Part.Name = "panel_F4Part";
                    this.panel_F4Part.Size = new System.Drawing.Size(697, 425);
                    this.panel_F4Part.TabIndex = 0;
                    break;

                case "navSerialInput":
                    // 
                    // panel_F4SerialInput
                    //

                    if (!f4serialinputLoad)
                    {
                        this.panel_F4SerialInput = new ERP_RORZE_DLL.Assembly.panel_F4SerialInput();
                        f4serialinputLoad = true;
                    }
                    else
                    {
                        this.panel_F4SerialInput.Dispose();
                        this.panel_F4SerialInput = new ERP_RORZE_DLL.Assembly.panel_F4SerialInput();
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F4SerialInput);
                    this.panel_F4SerialInput.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F4SerialInput.Location = new System.Drawing.Point(2, 2);
                    this.panel_F4SerialInput.Name = "panel_F4SerialInput";
                    this.panel_F4SerialInput.Size = new System.Drawing.Size(697, 425);
                    this.panel_F4SerialInput.TabIndex = 0;
                    break;

                case "navRobotOrderDetail":
                    // 
                    // panel_RobotOrderDetail
                    //

                    if (!f4robotorderdetailLoad)
                    {
                        this.panel_RobotOrderDetail = new ERP_RORZE_DLL.Assembly.panel_RobotOrderDetail();
                        f4robotorderdetailLoad = true;
                    }
                    else
                    {
                        this.panel_RobotOrderDetail.Dispose();
                        this.panel_RobotOrderDetail = new ERP_RORZE_DLL.Assembly.panel_RobotOrderDetail();
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_RobotOrderDetail);
                    this.panel_RobotOrderDetail.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_RobotOrderDetail.Location = new System.Drawing.Point(2, 2);
                    this.panel_RobotOrderDetail.Name = "panel_RobotOrderDetail";
                    this.panel_RobotOrderDetail.Size = new System.Drawing.Size(697, 425);
                    this.panel_RobotOrderDetail.TabIndex = 0;
                    break;

                case "navF4AssemblyWTS":
                    // 
                    // panel_F4AssemblyWTS
                    // 
                    
                    if (!f4wtsLoad)
                    {
                        this.panel_F4AssemblyWTS = new ERP_RORZE_DLL.Assembly.panel_F4AssemblyWTS();
                        f4wtsLoad = true;
                    }
                    else
                    {
                        this.panel_F4AssemblyWTS.Dispose();
                        this.panel_F4AssemblyWTS = new ERP_RORZE_DLL.Assembly.panel_F4AssemblyWTS();
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F4AssemblyWTS);
                    this.panel_F4AssemblyWTS.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F4AssemblyWTS.Location = new System.Drawing.Point(2, 2);
                    this.panel_F4AssemblyWTS.Name = "panel_F4AssemblyWTS";
                    this.panel_F4AssemblyWTS.Size = new System.Drawing.Size(697, 425);
                    this.panel_F4AssemblyWTS.TabIndex = 0; 
                    break;

                case "navF4AssemblyExport":
                    // 
                    // panel_F4Export
                    //

                    if (!f4exportLoad)
                    {
                        this.panel_F4Export = new ERP_RORZE_DLL.Assembly.panel_F4Export();
                        f4exportLoad = true;
                    }
                    else
                    {
                        this.panel_F4Export.Dispose();
                        this.panel_F4Export = new ERP_RORZE_DLL.Assembly.panel_F4Export();
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F4Export);
                    this.panel_F4Export.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F4Export.Location = new System.Drawing.Point(2, 2);
                    this.panel_F4Export.Name = "panel_F4Export";
                    this.panel_F4Export.Size = new System.Drawing.Size(697, 425);
                    this.panel_F4Export.TabIndex = 0;
                    break;

                case "navF4Search":
                    // 
                    // panel_F4Search
                    //

                    if (!f4searchLoad)
                    {
                        this.panel_F4Search = new ERP_RORZE_DLL.Assembly.panel_F4Search();
                        f4searchLoad = true;
                    }
                    else
                    {
                        this.panel_F4Search.Dispose();
                        this.panel_F4Search = new ERP_RORZE_DLL.Assembly.panel_F4Search();
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F4Search);
                    this.panel_F4Search.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F4Search.Location = new System.Drawing.Point(2, 2);
                    this.panel_F4Search.Name = "panel_F4Search";
                    this.panel_F4Search.Size = new System.Drawing.Size(697, 425);
                    this.panel_F4Search.TabIndex = 0;
                    break;

                case "navPrintData":
                    // 
                    // panel_F4AssemblyPrint
                    //

                    if (!f4assemblyprintLoad)
                    {
                        this.panel_F4AssemblyPrint = new ERP_RORZE_DLL.Assembly.panel_F4AssemblyPrint();
                        f4assemblyprintLoad = true;
                    }
                    else
                    {
                        this.panel_F4AssemblyPrint.Dispose();
                        this.panel_F4AssemblyPrint = new ERP_RORZE_DLL.Assembly.panel_F4AssemblyPrint();
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F4AssemblyPrint);
                    this.panel_F4AssemblyPrint.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F4AssemblyPrint.Location = new System.Drawing.Point(2, 2);
                    this.panel_F4AssemblyPrint.Name = "panel_F4AssemblyPrint";
                    this.panel_F4AssemblyPrint.Size = new System.Drawing.Size(697, 425);
                    this.panel_F4AssemblyPrint.TabIndex = 0;
                    break;

                case "navF4LocalError":
                    // 
                    // panel_F4LocalTroubles
                    //

                    if (!f4localtroubleLoad)
                    {
                        this.panel_F4LocalTroubles = new ERP_RORZE_DLL.Assembly.panel_F4LocalTroubles();
                        f4localtroubleLoad = true;
                    }
                    else
                    {
                        this.panel_F4LocalTroubles.Dispose();
                        this.panel_F4LocalTroubles = new ERP_RORZE_DLL.Assembly.panel_F4LocalTroubles();
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F4LocalTroubles);
                    this.panel_F4LocalTroubles.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F4LocalTroubles.Location = new System.Drawing.Point(2, 2);
                    this.panel_F4LocalTroubles.Name = "panel_F4LocalTroubles";
                    this.panel_F4LocalTroubles.Size = new System.Drawing.Size(697, 425);
                    this.panel_F4LocalTroubles.TabIndex = 0;
                    break;

                case "navF4ExportError":
                    // 
                    // panel_F4ExportTroubles
                    //

                    if (!f4exporttroubleLoad)
                    {
                        this.panel_F4ExportTroubles = new ERP_RORZE_DLL.Assembly.panel_F4ExportTroubles();
                        f4exporttroubleLoad = true;
                    }
                    else
                    {
                        this.panel_F4ExportTroubles.Dispose();
                        this.panel_F4ExportTroubles = new ERP_RORZE_DLL.Assembly.panel_F4ExportTroubles();
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F4ExportTroubles);
                    this.panel_F4ExportTroubles.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F4ExportTroubles.Location = new System.Drawing.Point(2, 2);
                    this.panel_F4ExportTroubles.Name = "panel_F4ExportTroubles";
                    this.panel_F4ExportTroubles.Size = new System.Drawing.Size(697, 425);
                    this.panel_F4ExportTroubles.TabIndex = 0;
                    break;

                case "navF4AssemblyPlanning":
                    // 
                    // panel_F4Plan
                    //

                    if (!f4planLoad)
                    {
                        this.panel_F4Plan = new ERP_RORZE_DLL.Assembly.panel_F4Plan();
                        f4planLoad = true;
                    }
                    else
                    {
                        this.panel_F4Plan.Dispose();
                        this.panel_F4Plan = new ERP_RORZE_DLL.Assembly.panel_F4Plan();
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F4Plan);
                    this.panel_F4Plan.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F4Plan.Location = new System.Drawing.Point(2, 2);
                    this.panel_F4Plan.Name = "panel_F4Plan";
                    this.panel_F4Plan.Size = new System.Drawing.Size(697, 425);
                    this.panel_F4Plan.TabIndex = 0;
                    break;

                case "navAssemblyCheck":
                    // 
                    // panel_AssemblyCheck
                    //

                    if (!assemblycheckLoad)
                    {
                        this.panel_AssemblyCheck = new ERP_RORZE_DLL.Assembly.panel_AssemblyCheck();
                        assemblycheckLoad = true;
                    }
                    else
                    {
                        this.panel_AssemblyCheck.Dispose();
                        this.panel_AssemblyCheck = new ERP_RORZE_DLL.Assembly.panel_AssemblyCheck();
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_AssemblyCheck);
                    this.panel_AssemblyCheck.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_AssemblyCheck.Location = new System.Drawing.Point(2, 2);
                    this.panel_AssemblyCheck.Name = "panel_AssemblyCheck";
                    this.panel_AssemblyCheck.Size = new System.Drawing.Size(697, 425);
                    this.panel_AssemblyCheck.TabIndex = 0;
                    break;

                case "navAssemblyCheckType":
                    // 
                    // panel_AssemblyCheckType
                    //

                    if (!assemblychecktypeLoad)
                    {
                        this.panel_AssemblyCheckType = new ERP_RORZE_DLL.Assembly.panel_AssemblyCheckType();
                        assemblychecktypeLoad = true;
                    }
                    else
                    {
                        this.panel_AssemblyCheckType.Dispose();
                        this.panel_AssemblyCheckType = new ERP_RORZE_DLL.Assembly.panel_AssemblyCheckType();
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_AssemblyCheckType);
                    this.panel_AssemblyCheckType.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_AssemblyCheckType.Location = new System.Drawing.Point(2, 2);
                    this.panel_AssemblyCheckType.Name = "panel_AssemblyCheckType";
                    this.panel_AssemblyCheckType.Size = new System.Drawing.Size(697, 425);
                    this.panel_AssemblyCheckType.TabIndex = 0;
                    break;

                case "navAssemblyCheckFunctions":
                    // 
                    // panel_AssemblyCheckFunctions
                    //

                    if (!assemblycheckfunctionsLoad)
                    {
                        this.panel_AssemblyCheckFunctions = new ERP_RORZE_DLL.Assembly.panel_AssemblyCheckFunctions();
                        assemblycheckfunctionsLoad = true;
                    }
                    else
                    {
                        this.panel_AssemblyCheckFunctions.Dispose();
                        this.panel_AssemblyCheckFunctions = new ERP_RORZE_DLL.Assembly.panel_AssemblyCheckFunctions();
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_AssemblyCheckFunctions);
                    this.panel_AssemblyCheckFunctions.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_AssemblyCheckFunctions.Location = new System.Drawing.Point(2, 2);
                    this.panel_AssemblyCheckFunctions.Name = "panel_AssemblyCheckFunctions";
                    this.panel_AssemblyCheckFunctions.Size = new System.Drawing.Size(697, 425);
                    this.panel_AssemblyCheckFunctions.TabIndex = 0;
                    break;

                case "navF4CheckFORS300":
                    // 
                    // panel_F4CheckFORS300
                    //

                    if (!f4rv201Load)
                    {
                        this.panel_F4CheckFORS300 = new ERP_RORZE_DLL.Assembly.panel_F4CheckFORS300();
                        f4rv201Load = true;
                    }
                    else
                    {
                        this.panel_F4CheckFORS300.Dispose();
                        this.panel_F4CheckFORS300 = new ERP_RORZE_DLL.Assembly.panel_F4CheckFORS300();
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F4CheckFORS300);
                    this.panel_F4CheckFORS300.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F4CheckFORS300.Location = new System.Drawing.Point(2, 2);
                    this.panel_F4CheckFORS300.Name = "panel_F4CheckFORS300";
                    this.panel_F4CheckFORS300.Size = new System.Drawing.Size(697, 425);
                    this.panel_F4CheckFORS300.TabIndex = 0;
                    break;

                case "navF4CheckRR70x":
                    // 
                    // panel_F4CheckRR70x
                    //

                    if (!f4rr70xLoad)
                    {
                        this.panel_F4CheckRR70x = new ERP_RORZE_DLL.Assembly.panel_F4CheckRR70x();
                        f4rr70xLoad = true;
                    }
                    else
                    {
                        this.panel_F4CheckRR70x.Dispose();
                        this.panel_F4CheckRR70x = new ERP_RORZE_DLL.Assembly.panel_F4CheckRR70x();
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F4CheckRR70x);
                    this.panel_F4CheckRR70x.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F4CheckRR70x.Location = new System.Drawing.Point(2, 2);
                    this.panel_F4CheckRR70x.Name = "panel_F4CheckRR70x";
                    this.panel_F4CheckRR70x.Size = new System.Drawing.Size(697, 425);
                    this.panel_F4CheckRR70x.TabIndex = 0;
                    break;

                case "navF4CheckRR713":
                    // 
                    // panel_F4CheckRR713
                    //

                    if (!f4rr713Load)
                    {
                        this.panel_F4CheckRR713 = new ERP_RORZE_DLL.Assembly.panel_F4CheckRR713();
                        f4rr713Load = true;
                    }
                    else
                    {
                        this.panel_F4CheckRR713.Dispose();
                        this.panel_F4CheckRR713 = new ERP_RORZE_DLL.Assembly.panel_F4CheckRR713();
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F4CheckRR713);
                    this.panel_F4CheckRR713.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F4CheckRR713.Location = new System.Drawing.Point(2, 2);
                    this.panel_F4CheckRR713.Name = "panel_F4CheckRR713";
                    this.panel_F4CheckRR713.Size = new System.Drawing.Size(697, 425);
                    this.panel_F4CheckRR713.TabIndex = 0;
                    break;

                case "navF4CheckRR717":
                    // 
                    // panel_F4CheckRR717
                    //

                    if (!f4rr717Load)
                    {
                        this.panel_F4CheckRR717 = new ERP_RORZE_DLL.Assembly.panel_F4CheckRR717();
                        f4rr717Load = true;
                    }
                    else
                    {
                        this.panel_F4CheckRR717.Dispose();
                        this.panel_F4CheckRR717 = new ERP_RORZE_DLL.Assembly.panel_F4CheckRR717();
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F4CheckRR717);
                    this.panel_F4CheckRR717.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F4CheckRR717.Location = new System.Drawing.Point(2, 2);
                    this.panel_F4CheckRR717.Name = "panel_F4CheckRR717";
                    this.panel_F4CheckRR717.Size = new System.Drawing.Size(697, 425);
                    this.panel_F4CheckRR717.TabIndex = 0;
                    break;

                case "navF4CheckRR732":
                    // 
                    // panel_F4CheckRR732
                    //

                    if (!f4rr732Load)
                    {
                        this.panel_F4CheckRR732 = new ERP_RORZE_DLL.Assembly.panel_F4CheckRR732();
                        f4rr732Load = true;
                    }
                    else
                    {
                        this.panel_F4CheckRR732.Dispose();
                        this.panel_F4CheckRR732 = new ERP_RORZE_DLL.Assembly.panel_F4CheckRR732();
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F4CheckRR732);
                    this.panel_F4CheckRR732.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F4CheckRR732.Location = new System.Drawing.Point(2, 2);
                    this.panel_F4CheckRR732.Name = "panel_F4CheckRR732";
                    this.panel_F4CheckRR732.Size = new System.Drawing.Size(697, 425);
                    this.panel_F4CheckRR732.TabIndex = 0;
                    break;

                case "navF4CheckRV201F06":
                    // 
                    // panel_F4CheckRV201F06
                    //

                    if (!f4rv201f06Load)
                    {
                        this.panel_F4CheckRV201F06 = new ERP_RORZE_DLL.Assembly.panel_F4CheckRV201F06();
                        f4rv201f06Load = true;
                    }
                    else
                    {
                        this.panel_F4CheckRV201F06.Dispose();
                        this.panel_F4CheckRV201F06 = new ERP_RORZE_DLL.Assembly.panel_F4CheckRV201F06();
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F4CheckRV201F06);
                    this.panel_F4CheckRV201F06.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F4CheckRV201F06.Location = new System.Drawing.Point(2, 2);
                    this.panel_F4CheckRV201F06.Name = "panel_F4CheckRV201F06";
                    this.panel_F4CheckRV201F06.Size = new System.Drawing.Size(697, 425);
                    this.panel_F4CheckRV201F06.TabIndex = 0;
                    break;

                case "navMaterialKosei":
                    // 
                    // panel_F4MaterialKosei
                    //

                    if (!f4materialkoseiLoad)
                    {
                        this.panel_F4MaterialKosei = new ERP_RORZE_DLL.Assembly.panel_F4MaterialKosei();
                        f4materialkoseiLoad = true;
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F4MaterialKosei);
                    this.panel_F4MaterialKosei.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F4MaterialKosei.Location = new System.Drawing.Point(2, 2);
                    this.panel_F4MaterialKosei.Name = "panel_F4MaterialKosei";
                    this.panel_F4MaterialKosei.Size = new System.Drawing.Size(697, 425);
                    this.panel_F4MaterialKosei.TabIndex = 0;
                    break;

                case "navMaterialImportPlan":
                    // 
                    // panel_MaterialImportPlan
                    //

                    if (!f4materialimportplanLoad)
                    {
                        this.panel_MaterialImportPlan = new ERP_RORZE_DLL.Assembly.panel_MaterialImportPlan();
                        f4materialimportplanLoad = true;
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_MaterialImportPlan);
                    this.panel_MaterialImportPlan.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_MaterialImportPlan.Location = new System.Drawing.Point(2, 2);
                    this.panel_MaterialImportPlan.Name = "panel_MaterialImportPlan";
                    this.panel_MaterialImportPlan.Size = new System.Drawing.Size(697, 425);
                    this.panel_MaterialImportPlan.TabIndex = 0;
                    break;

                case "navMaterialExportPlan":
                    // 
                    // panel_MaterialExportPlan
                    //

                    if (!f4materialexportplanLoad)
                    {
                        this.panel_MaterialExportPlan = new ERP_RORZE_DLL.Assembly.panel_MaterialExportPlan();
                        f4materialexportplanLoad = true;
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_MaterialExportPlan);
                    this.panel_MaterialExportPlan.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_MaterialExportPlan.Location = new System.Drawing.Point(2, 2);
                    this.panel_MaterialExportPlan.Name = "panel_MaterialExportPlan";
                    this.panel_MaterialExportPlan.Size = new System.Drawing.Size(697, 425);
                    this.panel_MaterialExportPlan.TabIndex = 0;
                    break;

                case "navMaterialOrder":
                    // 
                    // panel_MaterialOrder
                    //
                    
                    if (!materialorderLoad)
                    {
                        this.panel_MaterialOrder = new ERP_RORZE_DLL.Assembly.panel_MaterialOrder();
                        materialorderLoad = true;
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_MaterialOrder);
                    this.panel_MaterialOrder.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_MaterialOrder.Location = new System.Drawing.Point(2, 2);
                    this.panel_MaterialOrder.Name = "panel_MaterialOrder";
                    this.panel_MaterialOrder.Size = new System.Drawing.Size(697, 425);
                    this.panel_MaterialOrder.TabIndex = 0; 
                    break;

                case "navMaterialImport":
                    // 
                    // panel_F4MaterialReceive
                    //

                    if (!f4materialimportLoad)
                    {
                        this.panel_F4MaterialReceive = new ERP_RORZE_DLL.Assembly.panel_F4MaterialReceive();
                        f4materialimportLoad = true;
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F4MaterialReceive);
                    this.panel_F4MaterialReceive.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F4MaterialReceive.Location = new System.Drawing.Point(2, 2);
                    this.panel_F4MaterialReceive.Name = "panel_F4MaterialReceive";
                    this.panel_F4MaterialReceive.Size = new System.Drawing.Size(697, 425);
                    this.panel_F4MaterialReceive.TabIndex = 0;
                    break;

                case "navMaterialExport":
                    // 
                    // panel_F4MaterialDelivery
                    //

                    if (!f4materialexportLoad)
                    {
                        this.panel_F4MaterialDelivery = new ERP_RORZE_DLL.Assembly.panel_F4MaterialDelivery();
                        f4materialexportLoad = true;
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F4MaterialDelivery);
                    this.panel_F4MaterialDelivery.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F4MaterialDelivery.Location = new System.Drawing.Point(2, 2);
                    this.panel_F4MaterialDelivery.Name = "panel_F4MaterialDelivery";
                    this.panel_F4MaterialDelivery.Size = new System.Drawing.Size(697, 425);
                    this.panel_F4MaterialDelivery.TabIndex = 0;
                    break;

                case "navMaterialDetail":
                    // 
                    // panel_F4MaterialDetail
                    //

                    if (!f4materialdetailLoad)
                    {
                        this.panel_F4MaterialDtail = new ERP_RORZE_DLL.Assembly.panel_F4MaterialDtail();
                        f4materialdetailLoad = true;
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F4MaterialDtail);
                    this.panel_F4MaterialDtail.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F4MaterialDtail.Location = new System.Drawing.Point(2, 2);
                    this.panel_F4MaterialDtail.Name = "panel_F4MaterialDtail";
                    this.panel_F4MaterialDtail.Size = new System.Drawing.Size(697, 425);
                    this.panel_F4MaterialDtail.TabIndex = 0;
                    break;

                case "navPlan":
                    // 
                    // panel_F5YoyakuPlan
                    // 

                    if (!f5yoyakuLoad)
                    {
                        this.panel_F5YoyakuPlan = new ERP_RORZE_DLL.Assembly.panel_F5YoyakuPlan();
                        f5yoyakuLoad = true;
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F5YoyakuPlan);
                    this.panel_F5YoyakuPlan.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F5YoyakuPlan.Location = new System.Drawing.Point(2, 2);
                    this.panel_F5YoyakuPlan.Name = "panel_F5YoyakuPlan";
                    this.panel_F5YoyakuPlan.Size = new System.Drawing.Size(697, 425);
                    this.panel_F5YoyakuPlan.TabIndex = 0; 
                    break;
                case "navF5TimeReport":
                    // 
                    // panel_F5TimeReport
                    //
                    
                    if (!f5timereportLoad)
                    {
                        this.panel_F5TimeReport = new ERP_RORZE_DLL.Assembly.panel_F5TimeReport();
                        f5timereportLoad = true;
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F5TimeReport);
                    this.panel_F5TimeReport.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F5TimeReport.Location = new System.Drawing.Point(2, 2);
                    this.panel_F5TimeReport.Name = "panel_F5TimeReport";
                    this.panel_F5TimeReport.Size = new System.Drawing.Size(697, 425);
                    this.panel_F5TimeReport.TabIndex = 0; 
                    break;

                case "navF4TimeReport":
                    // 
                    // panel_F4TimeReport
                    //
                    
                    if (!f4timereportLoad)
                    {
                        this.panel_F4TimeReport = new ERP_RORZE_DLL.Assembly.panel_F4TimeReport();
                        f4timereportLoad = true;
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F4TimeReport);
                    this.panel_F4TimeReport.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F4TimeReport.Location = new System.Drawing.Point(2, 2);
                    this.panel_F4TimeReport.Name = "panel_F4TimeReport";
                    this.panel_F4TimeReport.Size = new System.Drawing.Size(697, 425);
                    this.panel_F4TimeReport.TabIndex = 0; 
                    break;

                case "navStampPrint":
                    // 
                    // panel_StampPrint
                    //                    
                    if (!stampprintLoad)
                    {
                        this.panel_StampPrint = new ERP_RORZE_DLL.Assembly.panel_StampPrint();
                        stampprintLoad = true;
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_StampPrint);
                    this.panel_StampPrint.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_StampPrint.Location = new System.Drawing.Point(2, 2);
                    this.panel_StampPrint.Name = "panel_StampPrint";
                    this.panel_StampPrint.Size = new System.Drawing.Size(697, 425);
                    this.panel_StampPrint.TabIndex = 0; 
                    break;

                case "navInspection":
                    // 
                    // panel_Inspection
                    //                    
                    if (!inspectionLoad)
                    {
                        this.panel_Inspection = new ERP_RORZE_DLL.Assembly.panel_Inspection();
                        inspectionLoad = true;
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_Inspection);
                    this.panel_Inspection.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_Inspection.Location = new System.Drawing.Point(2, 2);
                    this.panel_Inspection.Name = "panel_Inspection";
                    this.panel_Inspection.Size = new System.Drawing.Size(697, 425);
                    this.panel_Inspection.TabIndex = 0;
                    break;

                case "navF5DirectIndirect":
                    // 
                    // panel_F5DirectIndirect
                    //                    
                    if (!f5directindirectLoad)
                    {
                        this.panel_F5DirectIndirect = new ERP_RORZE_DLL.Assembly.panel_F5DirectIndirect();
                        f5directindirectLoad = true;
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F5DirectIndirect);
                    this.panel_F5DirectIndirect.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F5DirectIndirect.Location = new System.Drawing.Point(2, 2);
                    this.panel_F5DirectIndirect.Name = "panel_F5DirectIndirect";
                    this.panel_F5DirectIndirect.Size = new System.Drawing.Size(697, 425);
                    this.panel_F5DirectIndirect.TabIndex = 0;
                    break;

                case "navF4DriectIndirect":
                    // 
                    // panel_F4DirectIndirect
                    //                    
                    if (!f4directindirectLoad)
                    {
                        this.panel_F4DirectIndirect = new ERP_RORZE_DLL.Assembly.panel_F4DirectIndirect();
                        f4directindirectLoad = true;
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F4DirectIndirect);
                    this.panel_F4DirectIndirect.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F4DirectIndirect.Location = new System.Drawing.Point(2, 2);
                    this.panel_F4DirectIndirect.Name = "panel_F4DirectIndirect";
                    this.panel_F4DirectIndirect.Size = new System.Drawing.Size(697, 425);
                    this.panel_F4DirectIndirect.TabIndex = 0;
                    break;

                case "navF5TimeDaily":
                    // 
                    // panel_F5DailyTime
                    //                    
                    if (!f5dailytimeLoad)
                    {
                        this.panel_F5DailyTime = new ERP_RORZE_DLL.Assembly.panel_F5DailyTime();
                        f5dailytimeLoad = true;
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F5DailyTime);
                    this.panel_F5DailyTime.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F5DailyTime.Location = new System.Drawing.Point(2, 2);
                    this.panel_F5DailyTime.Name = "panel_F5DailyTime";
                    this.panel_F5DailyTime.Size = new System.Drawing.Size(697, 425);
                    this.panel_F5DailyTime.TabIndex = 0;
                    break;

                case "navLocalErrorSummary":
                    // 
                    // panel_LocalTroubleReport
                    //                    
                    if (!localerrorsummaryLoad)
                    {
                        this.panel_LocalTroubleReport = new ERP_RORZE_DLL.Assembly.panel_LocalTroubleReport();
                        localerrorsummaryLoad = true;
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_LocalTroubleReport);
                    this.panel_LocalTroubleReport.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_LocalTroubleReport.Location = new System.Drawing.Point(2, 2);
                    this.panel_LocalTroubleReport.Name = "panel_LocalTroubleReport";
                    this.panel_LocalTroubleReport.Size = new System.Drawing.Size(697, 425);
                    this.panel_LocalTroubleReport.TabIndex = 0;
                    break;

                case "navExportErrorSummary":
                    // 
                    // panel_ExportTroubleReport
                    //                    
                    if (!exporterrorsummaryLoad)
                    {
                        this.panel_ExportTroubleReport = new ERP_RORZE_DLL.Assembly.panel_ExportTroubleReport();
                        exporterrorsummaryLoad = true;
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_ExportTroubleReport);
                    this.panel_ExportTroubleReport.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_ExportTroubleReport.Location = new System.Drawing.Point(2, 2);
                    this.panel_ExportTroubleReport.Name = "panel_ExportTroubleReport";
                    this.panel_ExportTroubleReport.Size = new System.Drawing.Size(697, 425);
                    this.panel_ExportTroubleReport.TabIndex = 0;
                    break;

                case "navF4MaterialLoss":
                    // 
                    // panel_MaterialLoss
                    //                    
                    if (!f4materiallossLoad)
                    {
                        this.panel_MaterialLoss = new ERP_RORZE_DLL.Assembly.panel_MaterialLoss();
                        f4materiallossLoad = true;
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_MaterialLoss);
                    this.panel_MaterialLoss.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_MaterialLoss.Location = new System.Drawing.Point(2, 2);
                    this.panel_MaterialLoss.Name = "panel_MaterialLoss";
                    this.panel_MaterialLoss.Size = new System.Drawing.Size(697, 425);
                    this.panel_MaterialLoss.TabIndex = 0;
                    break;

                case "navF5Producing":
                    // 
                    // panel_F5Producing
                    //                    
                    if (!f5producingLoad)
                    {
                        this.panel_F5Producing = new ERP_RORZE_DLL.Assembly.panel_F5Producing();
                        f5producingLoad = true;
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F5Producing);
                    this.panel_F5Producing.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F5Producing.Location = new System.Drawing.Point(2, 2);
                    this.panel_F5Producing.Name = "panel_F5Producing";
                    this.panel_F5Producing.Size = new System.Drawing.Size(697, 425);
                    this.panel_F5Producing.TabIndex = 0;
                    break;

                case "navF5ProductDetails":
                    // 
                    // panel_F5ProducingDetails
                    //                    
                    if (!f5productdetailsLoad)
                    {
                        this.panel_F5ProducingDetails = new ERP_RORZE_DLL.Assembly.panel_F5ProducingDetails();
                        f5productdetailsLoad = true;
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F5ProducingDetails);
                    this.panel_F5ProducingDetails.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F5ProducingDetails.Location = new System.Drawing.Point(2, 2);
                    this.panel_F5ProducingDetails.Name = "panel_F5ProducingDetails";
                    this.panel_F5ProducingDetails.Size = new System.Drawing.Size(697, 425);
                    this.panel_F5ProducingDetails.TabIndex = 0;
                    break;

                case "navF4Producing":
                    // 
                    // panel_F4Producing
                    //                    
                    if (!f4producingLoad)
                    {
                        this.panel_F4Producing = new ERP_RORZE_DLL.Assembly.panel_F4Producing();
                        f4producingLoad = true;
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F4Producing);
                    this.panel_F4Producing.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F4Producing.Location = new System.Drawing.Point(2, 2);
                    this.panel_F4Producing.Name = "panel_F4Producing";
                    this.panel_F4Producing.Size = new System.Drawing.Size(697, 425);
                    this.panel_F4Producing.TabIndex = 0;
                    break;

                case "navF5TimeMonthly":
                    // 
                    // panel_F5TimeMonthlyReport
                    //                    
                    if (!f5timemonthlyLoad)
                    {
                        this.panel_F5TimeMonthlyReport = new ERP_RORZE_DLL.Assembly.panel_F5TimeMonthlyReport();
                        f5timemonthlyLoad = true;
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F5TimeMonthlyReport);
                    this.panel_F5TimeMonthlyReport.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F5TimeMonthlyReport.Location = new System.Drawing.Point(2, 2);
                    this.panel_F5TimeMonthlyReport.Name = "panel_F5TimeMonthlyReport";
                    this.panel_F5TimeMonthlyReport.Size = new System.Drawing.Size(697, 425);
                    this.panel_F5TimeMonthlyReport.TabIndex = 0;
                    break;

                case "navF4TimeMonthly":
                    // 
                    // panel_F4TimeMonthlyReport
                    //                    
                    if (!f4timemonthlyLoad)
                    {
                        this.panel_F4TimeMonthlyReport = new ERP_RORZE_DLL.Assembly.panel_F4TimeMonthlyReport();
                        f4timemonthlyLoad = true;
                    }
                    this.panelRight.Controls.Clear();
                    this.panelRight.Controls.Add(this.panel_F4TimeMonthlyReport);
                    this.panel_F4TimeMonthlyReport.Dock = System.Windows.Forms.DockStyle.Fill;
                    this.panel_F4TimeMonthlyReport.Location = new System.Drawing.Point(2, 2);
                    this.panel_F4TimeMonthlyReport.Name = "panel_F4TimeMonthlyReport";
                    this.panel_F4TimeMonthlyReport.Size = new System.Drawing.Size(697, 425);
                    this.panel_F4TimeMonthlyReport.TabIndex = 0;
                    break;

                default:
                    this.panelRight.Controls.Clear();
                    break;
            }
            //throw new System.NotImplementedException();
        }
    }

    ///////////////////////////////////////////
    /// Class for Create ComboBox Item
    ///////////////////////////////////////////
    public class ComboboxItem
    {
        public string Text { get; set; }
        public object Value { get; set; }

        public override string ToString()
        {
            return Text;
        }
    }
}
